package com.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.pojo.User;

import java.util.List;

/**
 * @author shkstart
 * @create 2021-06-22 14:28
 */
public interface UserService extends IService<User> {

    //通过用户名称查询用户
    User findByUsername(String username);

    //模糊查询
    List<User> selectUserName(String username);

}
